package com.lilosoft.business.cga.dao;

import com.lilosoft.business.cga.models.CgaCase;
import com.lilosoft.business.cga.models.CgaCaseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CgaCaseMapper {
    long countByExample(CgaCaseExample example);

    int deleteByExample(CgaCaseExample example);

    int deleteByPrimaryKey(String id);

    int insert(CgaCase record);

    int insertSelective(CgaCase record);

    List<CgaCase> selectByExample(CgaCaseExample example);

    CgaCase selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CgaCase record, @Param("example") CgaCaseExample example);

    int updateByExample(@Param("record") CgaCase record, @Param("example") CgaCaseExample example);

    int updateByPrimaryKeySelective(CgaCase record);

    int updateByPrimaryKey(CgaCase record);

    int updateIsPrecityByPrimaryKeyList(List<String> primarys);

    int updateIsPrecityToNull(String caseId);
}